package com.ldatum.crm.service;

import java.util.List;

import com.ldatum.crm.domain.TContacts;

public interface TContactsService {
	void add(TContacts contacts) throws Exception;
	void delete(TContacts contacts,int id) throws Exception;
	void update(TContacts contacts,int id) throws Exception;
	TContacts findById(Class<TContacts> clazz,int id) throws Exception;
	List<TContacts> list(Class<TContacts> clazz, String employee ) throws Exception;
	List<TContacts> findByNo(Class<TContacts> clazz, String no) throws Exception;
	TContacts queryById(Class<TContacts> clazz, int id) throws Exception;
	void deletes(String ids) throws Exception;
	List<TContacts> findByCustomerId(int customerId) throws Exception;
}
